<template>
  <div
    class="dashboard-container">
    <div
      class="dashboard-text">
      <!-- name: {{ name }} -->
      <div>
        <span
          class="svg-container">
          <svg-icon
            icon-class="user"
            class-name="tree-ele" />
          <div>
            楼上的房间了解到翻开历史的解放路上的
          </div>
        </span>
      </div>
    </div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Dashboard',
  computed: {
    ...mapGetters([
      'name'
    ])
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
    .svg-container {
      padding: 6px 5px 6px 15px;
      // color: $dark_gray;
      vertical-align: middle;
      width: 30px;
      display: inline-block;
      font-size: 50px;
    }
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
    // .tree-ele {
    //   color: aquamarine;
    // }
  }
}
</style>
